package com.auth.manage.infr.exception.errorcode;

import com.auth.manage.base.exception.ErrorCode;

public enum AuthorizationPortErrorCode implements ErrorCode {
    OPERATION_FAIL("OPERATION_FAIL", "操作失败"),
    ;

    private String msg;
    private String code;

    AuthorizationPortErrorCode(String msg, String code) {
        this.msg = msg;
        this.code = code;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }

}
